define([ ], function() {
	return {
		// 存储单个属性
		password : /^(?=.*[a-zA-Z])(?=.*\d)(?=.*[~!@#$%^&*()_+`\-={}:";'<>?,.\/]).{8}$/,
		password_error: "密码必须由8位字母、数字、特殊字符(!@#$%^&*)组成",
		password_confirm_error: "确认密码不匹配",
		phone: /(^$)|^(((\+86)|(86))?1[34578]\d{9})$/,
		phone_error: "手机号格式有误",
		email: /^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/,
		email_error: "邮箱格式有误",
//		id: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/,
// 		id: /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$|^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{2}$/,
        id: /^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/,
		id_error: "身份证号码格式有误",
		//护照
		// passport:  /^1[45][0-9]{7}$|([P|p|S|s]\d{7}$)|([S|s|G|g]\d{8}$)|([Gg|Tt|Ss|Ll|Qq|Dd|Aa|Ff]\d{8}$)|([H|h|M|m]\d{8,10})$/,
		passport:  /^([a-zA-z]|[0-9]){5,17}$/,
		passport_error: "护照格式有误",
		//通行证港澳
		isHKCard: /^([A-Z]\d{6,10}(\(\w{1}\))?)$/,
		isHKCard_error: "通行证格式有误",
		//通行证台湾
		isTWCard: /^\d{8}|^[a-zA-Z0-9]{10}|^\d{18}$/,
		isTWCard_error: "通行证格式有误",
	}
});